#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
    int a = 0;
    int num = 0;
    while (scanf("%d", &a) != EOF)
    {
        int m = a - 1;
        while (m)
        {
            num = num + m;
            m--;
        }
        num = 2 * num + 1;
        int i = 0;
        int arr[] = { 0 };
        for (i = 0; i < a; i++)
        {
            arr[i] = num;
            num = num + 2;
        }
        for (i = 0; i < a - 1; i++)
        {
            printf("%d+", arr[i]);
        }
        printf("%d", num);

    }

    return 0;
}